package ooday03;

public class sss {
    public static void main(String[] args) {

            int result=0;

            for (int i=0; i <= 10; i++) {

                if (i > 5){

                    break;

                }

                result+=i;

            }

            System.out.println(result);

        }

    }
